package com.ftg.learn.comm.entity.question;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.learn.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.ToString;


/**
 * <p>
 * 题目类别表
 * </p>
 *
 * @author kangjx
 * @since 2022-11-13
 */
@Data
@ApiModel(value = "题目类型表",description = "题目类的映射对象")
@TableName("question_type")
@ToString
public class Type extends BaseEntity{


    /**
     * 上级题目编号,-1为顶级类目
     */
    @TableField("p_id")
    private Integer pid;

    /**
     * 类型名称
     */
    @TableField("type_name")
    private String typeName;

    /**
     * 描述
     */
    @TableField("type_desc")
    private String typeDesc;


}
